
package code.codeworld.know.knowledge.service;


import code.codeworld.know.knowledge.model.Know;
import code.codeworld.know.knowledge.model.vo.KnowVo;
import code.codeworld.common.kits.Result;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * knowService接口
 *
 * @author freecode
 * @date 2023/03/23 00:20
 **/
public interface KnowService {

    /**
     * 获取know分页
     *
     * @author freecode
     * @date 2023/03/23 00:20
     */
    Page<KnowVo> page(KnowVo knowVo);

    /**
     * 获取know集合
     *
     * @author freecode
     * @date 2023/10/15 00:20
     */
    List<KnowVo> list(KnowVo knowVo);

    /**
     * 获取know详情
     *
     * @author freecode
     * @date 2023/03/23 00:20
     */
    Know detail(Know know);

    /**
     * 编辑know
     *
     * @author freecode
     * @date 2023/03/23 00:20
     */
    Result<String> editMark(Know know);

    /**
     * 获取know详情
     *
     * @author freecode
     * @date 2023/03/23 00:20
     **/
    Know queryById(Long id, String type);
}
